package com.cow.support.dao;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.cow.support.entity.Userinfo;

public interface UserDAO extends JpaRepository<Userinfo, Serializable>{

	public Userinfo findByAccountname(String accountName);
	public List<Userinfo> findByOrgid(Integer orgid);

}
